Migrate static plugins with options to CSS#14700
Merged
philipp-spiess merged 1 commit intoOct 18, 2024
Merged
Conversation
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @philipp-spiess and the rest of your teammates on |
c0e6536 to
20d0c57
Compare
f13c00d to
9a66a68
Compare
20d0c57 to
438c487
Compare
9a66a68 to
f54c6bf
Compare
f54c6bf to
a0d1616
Compare
438c487 to
aab02ca
Compare
3ca31c4 to
10abcec
Compare
philipp-spiess
commented
Oct 17, 2024
| await format(node.toString(), { | ||
| parser: 'css', | ||
| semi: true, | ||
| singleQuote: true, |
Contributor
Author
There was a problem hiding this comment.
I noticed that we inconsistently used single quotes for the @plugin and @config directives but double-quotes for CSS values so this is just a consistency change.
aab02ca to
09c0aab
Compare
10abcec to
ea4e2bd
Compare
09c0aab to
3c0528a
Compare
ea4e2bd to
ab2514d
Compare
d775256 to
34fc9b0
Compare
a45db82 to
9f6e422
Compare
RobinMalfait
approved these changes
Oct 18, 2024
Contributor
Author
Base automatically changed from
10-17-include_simple_config_objects_when_extracting_static_plugins
to
next
October 18, 2024 13:10
9f6e422 to
d45b2ec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR extends our JS configuration to CSS migration by also allowing
pluginswith options.An example of such config would be:
If the option object contains only values allowed in our CSS API, we can convert this to CSS entirely: